package com.dream.service.user.api;

import com.dream.common.model.response.BaseListResponse;
import com.dream.common.model.response.BaseResponse;
import com.dream.service.user.domain.entity.Condition;
import com.dream.service.user.domain.model.StoreAddrModel;
import com.dream.service.user.domain.model.UserAddrModel;

import java.util.List;

/**
 */
public interface StoreAddrService {

    /**
     * 获取门店地址列表
     * @param city
     * @return
     */
    @Deprecated
    public BaseListResponse getStoreAddressList(String city);

    BaseResponse<Boolean> addStoreAddress(StoreAddrModel storeAddrModel);

    BaseResponse<StoreAddrModel>  getStoreAddressById(Integer storeId);

    BaseListResponse  getStoreAddressByIds(List<Integer> storeIds);

    BaseListResponse getStoreAddressList(Condition condition);

    BaseResponse<Integer>  updateStoreAddress(StoreAddrModel storeAddrModel);

    BaseResponse<Boolean>  delete(Integer storeId);
}
